<div class="users form">
<?php echo $this->Form->create('User'); ?>
	<fieldset>
		<legend><?php echo __('Agregar Usuario'); ?></legend>
	<?php
		echo $this->Form->input('username',array('label'=>'Usuario'));
		echo $this->Form->input('password',array('label'=>'Contraseña'));
		echo $this->Form->input('email',array('label'=>'e-mail'));
		echo $this->Form->input('group_id',array('label'=>'Grupo','selected'=>3));
		echo $this->Form->input('client_id',array('label'=>'Cliente',"empty"=>"N/A"));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Agregar')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Acciones'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Ver Usuarios'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('Ver Clientes'), array('controller' => 'clients', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nuevo Cliente'), array('controller' => 'clients', 'action' => 'add')); ?> </li>
		<li><?php  echo $this->Html->link('Volver',"javascript:history.back()"); ?> </li>
	</ul>
</div>
